<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta content="telephone=no" name="format-detection">
<meta content="email=no" name="format-detection">
<link href="css/H-ui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://lib.h-ui.net/jquery/1.9.1/jquery.min.js"></script>
<title>jquery.HuitogglePassword.js - H-ui前端框架官方网站 - 专注前端解决方案</title>
<meta name="keywords" content="jquery.HuitogglePassword.js,隐藏显示密码,H-ui前端框架">
<meta name="description" content="jquery.HuitogglePassword.js 隐藏显示密码插件帮助手册。">
</head>
<body>
<article class="cl pd-20">
	<h1 class="page_title">jquery.HuitogglePassword.js <span class="label label-success radius">已封装</span></h1>
	<p>H-ui.js 中已封装，无需单独下载。单独下载地址
		<a href="http://lib.h-ui.net/Hui/v3.0.4/jquery.HuitogglePassword.js" class="btn radius btn-primary">jquery.HuitogglePassword.js</a>
	</p>
	<p>jQuery.HuitogglePassword是一个用js编写的jQuery插件，实现密码的隐藏显示，在输入框得到焦点状态，密码为明文，失去焦点后密码为*号。</p>
	<h2>使用方法</h2>
	<p>1、jQuery.HuitogglePassword.js依赖jquery或者zepto.js。</p>
	<p>js调用</p>
<pre class="prettyprint linenums">$("#password-Demo1").HuitogglePassword();</pre>
	<h2>demo效果</h2>
	<div class="codeView docs-example">
		<input type="password" value="" class="input-text" id="password-Demo1"> 
	</div>	
</article>

<script type="text/javascript" src="http://lib.h-ui.net/prettify.js"></script>
<script type="text/javascript" src="js/jQuery.HuitogglePassword.js"></script>
<script>
$(function(){
	prettyPrint();
	$("#password-Demo1").HuitogglePassword();
});
</script>
</body>
</html>
